package org.springblade.modules.monitor.pojo;


import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.monitor.entity.DatabaseInfo;

import java.util.List;


public class DatabaseDetail extends DatabaseInfo {
	@ApiModelProperty(value = "采集时间")
	private String collectTime;

	@ApiModelProperty(value = "SGA命中率")
	private Double sgaPercent;
	@ApiModelProperty(value = "Dictionary cache命中率")
	private Double dictionaryCachePercent;
	@ApiModelProperty(value = "最大并发数")
	private Integer maxSessions;
	@ApiModelProperty(value = "当前连接个数")
	private Integer nowConnectSessions;
	@ApiModelProperty(value = "表空间I/O比例")
	private Double tableSpaceRatio;
	@ApiModelProperty(value = "4.Oracle死锁个数")
	private Integer deadLockNum;
	@ApiModelProperty("内存使用率")
	private Double memUsage;
	@ApiModelProperty(value = "CPU使用率")
	private Double cpuUsage;


	@ApiModelProperty(value = "表所以及状态列表")
	private List<TableWithIndex> tableWithIndices;

	@ApiModelProperty(value = "表所以及状态列表")
	private List<TableSpace> tableSpaces;

	public String getCollectTime() {
		return collectTime;
	}

	public void setCollectTime(String collectTime) {
		this.collectTime = collectTime;
	}

	public Double getSgaPercent() {
		return sgaPercent;
	}

	public void setSgaPercent(Double sgaPercent) {
		this.sgaPercent = sgaPercent;
	}

	public Double getDictionaryCachePercent() {
		return dictionaryCachePercent;
	}

	public void setDictionaryCachePercent(Double dictionaryCachePercent) {
		this.dictionaryCachePercent = dictionaryCachePercent;
	}

	public Integer getMaxSessions() {
		return maxSessions;
	}

	public void setMaxSessions(Integer maxSessions) {
		this.maxSessions = maxSessions;
	}

	public Integer getNowConnectSessions() {
		return nowConnectSessions;
	}

	public void setNowConnectSessions(Integer nowConnectSessions) {
		this.nowConnectSessions = nowConnectSessions;
	}

	public Double getTableSpaceRatio() {
		return tableSpaceRatio;
	}

	public void setTableSpaceRatio(Double tableSpaceRatio) {
		this.tableSpaceRatio = tableSpaceRatio;
	}

	public Integer getDeadLockNum() {
		return deadLockNum;
	}

	public void setDeadLockNum(Integer deadLockNum) {
		this.deadLockNum = deadLockNum;
	}

	public Double getMemUsage() {
		return memUsage;
	}

	public void setMemUsage(Double memUsage) {
		this.memUsage = memUsage;
	}

	public Double getCpuUsage() {
		return cpuUsage;
	}

	public void setCpuUsage(Double cpuUsage) {
		this.cpuUsage = cpuUsage;
	}

	public List<TableWithIndex> getTableWithIndices() {
		return tableWithIndices;
	}

	public void setTableWithIndices(List<TableWithIndex> tableWithIndices) {
		this.tableWithIndices = tableWithIndices;
	}

	public List<TableSpace> getTableSpaces() {
		return tableSpaces;
	}

	public void setTableSpaces(List<TableSpace> tableSpaces) {
		this.tableSpaces = tableSpaces;
	}
}
